package com.cskaoyan.service.promoteservice;


import com.cskaoyan.bo.promoteBO.GrouponrulesBO;
import com.cskaoyan.vo.promotevo.Groupon_rulesVO;
import com.cskaoyan.vo.promotevo.GrouponrulesCreateVO;

import java.text.ParseException;

/**
 * @Author: feisl
 * @Date: 2021/5/10 1:17
 */
public interface GrouponService {
    Groupon_rulesVO queryGrouponRulesAll(Integer page, Integer limit, Integer goodsId,String sort, String order);

    GrouponrulesCreateVO insert(GrouponrulesBO grouponrulesBO) throws ParseException;

    void update(GrouponrulesBO grouponrulesBO) throws ParseException;

    void delete(Integer id);
}
